//
//  SurveyViewController.m
//  LoveTrail
//
//  Created by giantumbrella on 15/6/3.
//  Copyright (c) 2015年 赵娟. All rights reserved.
//

#import "SurveyViewController.h"
#import "CommonMacro.h"
@interface SurveyViewController ()

@end

@implementation SurveyViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.surveyWeb = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT)];
    [self.view addSubview:self.surveyWeb];
    
    NSURL *url=[NSURL URLWithString:@"http://www.mmisy.com/shop/index.php"];
    [self.surveyWeb loadRequest:[NSURLRequest requestWithURL:url]];
    
    //此处是处理网页黑条条的状况
    self.surveyWeb.opaque = NO;
    self.surveyWeb.backgroundColor = [UIColor clearColor];
    [self.surveyWeb setScalesPageToFit:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}

@end
